package org.yiqixue.accounts.dto;

import java.util.Date;

public class TransactionDTO {

    private Long transactionID; // 交易 ID
    private Double amount; // 交易金额
    private Date transactionDate; // 交易日期
    private String description; // 交易描述
    private String status; // 交易状态
    private String type; // 交易类型（存款、取款、转账、支付）

    // 构造函数
    public TransactionDTO(Long transactionID, Double amount, Date transactionDate, String description, String status, String type) {
        this.transactionID = transactionID;
        this.amount = amount;
        this.transactionDate = transactionDate;
        this.description = description;
        this.status = status;
        this.type = type;
    }

    // Getter 和 Setter 方法
    public Long getTransactionID() {
        return transactionID;
    }

    public void setTransactionID(Long transactionID) {
        this.transactionID = transactionID;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Date getTransactionDate() {
        return transactionDate;
    }

    public void setTransactionDate(Date transactionDate) {
        this.transactionDate = transactionDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
